<template>
	<view class="tag-sex icon iconfont " :class="{'icon-nan': sex==0,'icon-nv': sex==1}">{{age}}</view>
</template>

<script>
	export default {
		props:{
			sex: Number,
			age: Number
		}
	}
</script>

<style scoped>
	.tag-sex {
		background-color: #007AFF;
		color: #fff;
		font-size: 23upx;
		padding: 5upx 10upx;
		margin-left: 10upx;
		border-radius: 20upx;
		line-height: 22upx;
	}
	.icon-nv {
		background-color: #FF698D !important;
	}
</style>
